package com.api.hg.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 销账确认 信息
 */
@Table(value="uf_xzqr",datasource = "local")
public class uf_xzqr {
    @Field(dbFiledName="")
    private int fqrks=0;//发起人科室
    @Field(dbFiledName="")
    private String swzcid="";//实物资产ID
    @Field(dbFiledName="")
    private String gbzcid="";//关保资产ID
    @Field(dbFiledName="")
    private String swycid="";//实物异常ID
    @Field(dbFiledName="")
    private String gbycid="";//关保异常ID
    @Field(dbFiledName="")
    private int fqr=0;//创建人
    @Field(dbFiledName="")
    private int fqrbm=0;//发起人部门
    @Field(dbFiledName="")
    private int zt=-1;//状态

    //关保 实物的 资产信息 begin
    @Field(dbFiledName="")
    private String 	gbkph="";//关保卡片号
    @Field(dbFiledName="")
    private String 	gbmldm="";//关保目录代码
    @Field(dbFiledName="")
    private String 	gbzclx="";//关保资产类型
    @Field(dbFiledName="")
    private String 	gbpp="";//关保品牌
    @Field(dbFiledName="")
    private String 	gbggxh="";//关保规格型号
    @Field(dbFiledName="")
    private int 	gbsybm=0;//关保使用部门
    @Field(dbFiledName="")
    private String 	swzcbh="";//实物资产编号
    @Field(dbFiledName="")
    private String 	swsblx="";//实物设备类型
    @Field(dbFiledName="")
    private String 	swsbmc="";//实物设备名称
    @Field(dbFiledName="")
    private String 	swpp="";//实物品牌
    @Field(dbFiledName="")
    private String 	swggxh="";//实物规格型号
    @Field(dbFiledName="")
    private int swsybm=0;//实物使用部门
    //end


    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="196";//模块ID 默认值 本地14 海关测试195 海关正式196
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    public uf_xzqr(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }

    public String getGbkph() {
        return gbkph;
    }

    public void setGbkph(String gbkph) {
        this.gbkph = gbkph;
    }

    public String getGbmldm() {
        return gbmldm;
    }

    public void setGbmldm(String gbmldm) {
        this.gbmldm = gbmldm;
    }

    public String getGbzclx() {
        return gbzclx;
    }

    public void setGbzclx(String gbzclx) {
        this.gbzclx = gbzclx;
    }

    public String getGbpp() {
        return gbpp;
    }

    public void setGbpp(String gbpp) {
        this.gbpp = gbpp;
    }

    public String getGbggxh() {
        return gbggxh;
    }

    public void setGbggxh(String gbggxh) {
        this.gbggxh = gbggxh;
    }

    public int getGbsybm() {
        return gbsybm;
    }

    public void setGbsybm(int gbsybm) {
        this.gbsybm = gbsybm;
    }

    public String getSwzcbh() {
        return swzcbh;
    }

    public void setSwzcbh(String swzcbh) {
        this.swzcbh = swzcbh;
    }

    public String getSwsblx() {
        return swsblx;
    }

    public void setSwsblx(String swsblx) {
        this.swsblx = swsblx;
    }

    public String getSwsbmc() {
        return swsbmc;
    }

    public void setSwsbmc(String swsbmc) {
        this.swsbmc = swsbmc;
    }

    public String getSwpp() {
        return swpp;
    }

    public void setSwpp(String swpp) {
        this.swpp = swpp;
    }

    public String getSwggxh() {
        return swggxh;
    }

    public void setSwggxh(String swggxh) {
        this.swggxh = swggxh;
    }

    public int getSwsybm() {
        return swsybm;
    }

    public void setSwsybm(int swsybm) {
        this.swsybm = swsybm;
    }

    public int getFqrks() {
        return fqrks;
    }

    public void setFqrks(int fqrks) {
        this.fqrks = fqrks;
    }

    public String getSwzcid() {
        return swzcid;
    }

    public void setSwzcid(String swzcid) {
        this.swzcid = swzcid;
    }

    public String getGbzcid() {
        return gbzcid;
    }

    public void setGbzcid(String gbzcid) {
        this.gbzcid = gbzcid;
    }

    public String getSwycid() {
        return swycid;
    }

    public void setSwycid(String swycid) {
        this.swycid = swycid;
    }

    public String getGbycid() {
        return gbycid;
    }

    public void setGbycid(String gbycid) {
        this.gbycid = gbycid;
    }

    public int getFqr() {
        return fqr;
    }

    public void setFqr(int fqr) {
        this.fqr = fqr;
    }

    public int getFqrbm() {
        return fqrbm;
    }

    public void setFqrbm(int fqrbm) {
        this.fqrbm = fqrbm;
    }

    public int getZt() {
        return zt;
    }

    public void setZt(int zt) {
        this.zt = zt;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    @Override
    public String toString() {
        return "uf_xzqr{" +
                "fqrks=" + fqrks +
                ", swzcid='" + swzcid + '\'' +
                ", gbzcid='" + gbzcid + '\'' +
                ", swycid='" + swycid + '\'' +
                ", gbycid='" + gbycid + '\'' +
                ", fqr=" + fqr +
                ", fqrbm=" + fqrbm +
                ", zt=" + zt +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                '}';
    }
}
